package top.fangw.tenant.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import top.fangw.common.core.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用途：保存系统中业务数据库的信息，用于创建租户数据库使用
 * </p>
 *
 * @author fangw
 * @since 2024-01-16
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("g_tbl_database_info")
@Schema(name = "DatabaseInfo", description = "用途：保存系统中业务数据库的信息，用于创建租户数据库使用")
public class DatabaseInfo extends BaseEntity {


    @Schema(description = "数据库描述")
    @TableField("description")
    private String description;

    @Schema(description = "是否可删除0：可删除  1：不可删除")
    @TableField("is_deletable")
    private String isDeletable;
}
